define(function(require, exports, module) {
    var Validator = require('bootstrap.validator');

    exports.run = function() {
        var validator = new Validator({
            element: '#register-form'
        });

        validator.addItem({
            element: '[name="register[email]"]',
            required: true
        });

        validator.addItem({
            element: '[name="register[nickname]"]',
            required: true
        });

    };

});